#pragma once
#include "Picture.h"

class Keyer
{
public:
	Keyer(void);
	~Keyer(void);	
	unsigned char *getKeyingColor();
	void setKeyingColor(unsigned char _red, unsigned char _green, unsigned char _blue);

	unsigned char getKeyingTolerance();
	void setKeyingTolerance(unsigned char _keyingTolerance);

	Picture *keyPictures(Picture *background, Picture *foreground);
	int checkPictures(Picture *background, Picture *foreground);

private:
	unsigned char keyingColor[3];
	unsigned char keyingTolerance;
};
